# 导包
import requests

# 发送请求
response = requests.get(url="http://www.baidu.com")

# 查看响应结果
response.encoding = "UTF-8"
print(response.text)
